<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="com.google.appengine.api.datastore.Key"%>
<%@ page import="com.google.appengine.api.datastore.KeyFactory"%>
<%@ page import="com.request.DBUtils"%>
<%@ page import="com.request.Request"%>

<html>
<body>
	<%
		String k = request.getParameter("id");
		Long id = Long.valueOf(k);
		Request r = DBUtils.retrieve(id);
		DBUtils.delete(r.getKey());
		response.sendRedirect("admin.jsp");
	%>


</body>
</html>